(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{532:function(e,t,o){"use strict";o.r(t),o.d(t,"checkStatFileType",(function(){return n})),o.d(t,"consumeStat",(function(){return r}));var c=o(12),i=o(50);function n(e){if(".torrent"===e.toLocaleLowerCase())return"seed";var t=Object(c.checkCanPreview)(e);return{video:"video",music:"video",picture:"photo",other:"other"}["media"===t?Object(c.checkMediaType)(e):t]}function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,o=Object(c.checkCanPreview)(e);if("other"!==o){var n="media"===o?Object(c.checkMediaType)(e):o,r={video:"video",music:"audio",picture:"photo",other:"other"};Object(i.eventTrack)("yunpan_consumption_click",{from:t,file_type:r[n],suffix:e})}}}}]);
//# sourceMappingURL=1.e58c6c4.js.map